package com.example.servicelmp;

import com.example.mapper.SysDeptMapper;
import com.example.mapper.SysUserMapper;
import com.example.pojo.SysDept;
import com.example.service.ISysDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysDeptServiceImp implements ISysDeptService {

    @Autowired(required = false)
    SysDeptMapper sysDeptMapper;


    public SysDept sysDeptOne(int deptID) {
        return sysDeptMapper.sysDeptOne(deptID);
    }


    public List<SysDept> sysDeptList() {
        return sysDeptMapper.sysDeptList();
    }

}
